import * as m from "../lib/modernExtend";
import type {DefinitionWithExtend} from "../lib/types";

export const definitions: DefinitionWithExtend[] = [
    {
        zigbeeModel: ["91-947"],
        model: "200403V2-B",
        vendor: "Light Solutions",
        description: "Mini dimmer 200W",
        extend: [m.light({configureReporting: true})],
    },
    {
        zigbeeModel: ["91-948"],
        model: "200106V3",
        vendor: "Light Solutions",
        description: "Zigbee switch 200W",
        extend: [m.onOff()],
    },
    {
        zigbeeModel: ["42-032"],
        model: "42-032",
        vendor: "Light Solutions",
        description: "LED driver CCT 12V - 30W - CCT",
        extend: [m.light({colorTemp: {range: [160, 450]}})],
    },
    {
        fingerprint: [{modelID: "Dimmer-Switch-ZB3.0", manufacturerName: "Light Solutions"}],
        model: "3004482/3137308/3137309",
        vendor: "Light Solutions",
        description: "Zigbee dimmer for wire",
        extend: [m.light({configureReporting: true})],
    },
    {
        zigbeeModel: ["91-943-PRO-SINGLE"],
        model: "91-943-PRO",
        vendor: "Light Solutions",
        description: "LED Controller 12/24v",
        extend: [m.light()],
    },
    {
        fingerprint: [{modelID: "01F", manufacturerName: "Light"}],
        zigbeeModel: ["91-943"],
        model: "91-943",
        vendor: "Light Solutions",
        description: "LED Controller 12/24v",
        extend: [m.light()],
    },
];
